package com.yh.csx.crm.service.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * StartNewCustomerApprovalReq class
 *
 * @author huyalin
 * @date 2019/2/28
 */
@Data
public class StartNewCustomerApprovalReq {

    @ApiModelProperty("草稿客户ID")
    private Long id;
    /*基本信息*/

    @ApiModelProperty("客户名称")
    private String customerName;

    @ApiModelProperty("客户分类")
    private Integer customerCategoryId;

    @ApiModelProperty("档案分类")
    private Byte archiveCategory;

    @ApiModelProperty("合作模式")
    private Byte cooperationMode;

    @ApiModelProperty("统一社会信用代码")
    private String socialCreditCode;

    @ApiModelProperty("营业执照名称")
    private String businessLicense;

    @ApiModelProperty("法定代表人")
    private String legalPersonName;

    @ApiModelProperty("法定代表人身份证号")
    private String legalPersonIdcard;

    @ApiModelProperty("注册资本")
    private String registeredCapital;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("联系人姓名")
    private String contactPerson;

    private String email;

    @ApiModelProperty("传真")
    private String fax;

    @ApiModelProperty("国家")
    private String countryCode;

    @ApiModelProperty("客户地址/城市编码")
    private Integer cityCode;

    @ApiModelProperty("邮政编码")
    private String postCode;

    @ApiModelProperty("开票名称1")
    private String invoiceName;

    @ApiModelProperty("开票名称2")
    private String invoiceName2;

    @ApiModelProperty("文件上传路径")
    private String filePath;

    /*银行信息*/

    @ApiModelProperty("银行账号")
    private String bankAccountNumber;

    @ApiModelProperty("银行账号户主")
    private String bankAccountName;

    @ApiModelProperty("开户银行")
    private String bankName;

    @ApiModelProperty("银行联行号")
    private String bankNumber;

    @ApiModelProperty("打款账号")
    private String bankAccountNumber2;

    /*财务信息*/

    @ApiModelProperty("支付方式")
    private Byte payMode;

    @ApiModelProperty("付款条件")
    private Byte paymentTerms;

    @ApiModelProperty("公司代码")
    private Integer companyCode;

    @ApiModelProperty("账期")
    private Byte paymentDays;

    @ApiModelProperty("计划销售金额")
    private BigDecimal planSalesAmount;

    @ApiModelProperty("签单金额")
    private BigDecimal writtenAmount;

    /*销售信息*/

    @ApiModelProperty("所属门店")
    private String belongShop;

    @ApiModelProperty("业务对接人")
    private String businessContact;

    @ApiModelProperty("业务对接人手机号")
    private String businessContactPhone;

    @ApiModelProperty("分销渠道")
    private Integer channelFirstCode;

    @ApiModelProperty("分销渠道")
    private Integer channelSecondCode;

    @ApiModelProperty("祱分类")
    private Byte taxesCategory;

    @ApiModelProperty("所属省区")
    private Integer salesProvinceId;


    /*信控信息*/

    @ApiModelProperty("信控系数")
    private Integer creditModulus;

    @ApiModelProperty("信控额度")
    private BigDecimal creditLimit;

    @ApiModelProperty("临时客户有效起始时间")
    private Date tempBeginTime;

    @ApiModelProperty("临时客户有效结束时间")
    private Date tempEndTime;
}
